package DesignModel;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 殇
 * Date: 2025-07-15
 * Time: 22:12
 */
public class Signleton1 {
    //懒汉式
    private static Signleton1 instance;
    public Signleton1(){
        ;
    }
    public static Signleton1 getInstance(){
        if(instance==null)
            instance= new Signleton1();
        return instance;
    }
}
